package C05;

public class CylinderTest {
    public static void main(String[] args) {

        Cylinder cylinder = new Cylinder();
        cylinder.setR(6);
        cylinder.s(18);

        double s = cylinder.f();
        System.out.println("圆柱的体积：" + s);


    }
}

